
import axios from "../../utils/request"
function login(body){
    return axios.post('/api/login',body)
}
function register(body){
    return axios.post('/register',body)
}

export default{
    login,
    register
}